package cn.com.dhcc.ddi.task.vo;

import cn.com.dhcc.app.core.annotation.SiColumn;
import cn.com.dhcc.app.core.annotation.SiTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;

import java.util.Date;

/**
 * 文件过滤条件表
 * @日期：2017/5/4 11:00
 * @作者：张洪涛
 * @版权所有：东华软件
 * @版本：1.0
 */
@SiTable(name = "t_ddi_task_filter")
public class TaskFilter extends ModuleFeatureBean {
    @SiColumn(isId = true)
    private String id;

    @SiColumn(name = "task_id")
    private String taskId; //所属任务

    @SiColumn(name = "chlid_dir")
    private String chlidDir;//包含子目录0 否1是

    @SiColumn(name = "filter_type")
    private String filterType;//文件名过滤条件-过滤类型 1 通配符 2正则表达式

    @SiColumn(name = "filter_value")
    private String filterValue;//文件名过滤条件-值

    @SiColumn(name = "size_min")
    private Double sizeMin;//文件大小过滤-最小值 单位KB

    @SiColumn(name = "size_max")
    private Double sizeMax;//文件大小过滤-最大值 单位KB

    @SiColumn(name = "same_dir_path")
    private String sameDirPath;//文件到达后保持目录结构 0 否1是

    private Date mtime;//最后修改时间

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getChlidDir() {
        return chlidDir;
    }

    public void setChlidDir(String chlidDir) {
        this.chlidDir = chlidDir;
    }

    public String getFilterType() {
        return filterType;
    }

    public void setFilterType(String filterType) {
        this.filterType = filterType;
    }

    public String getFilterValue() {
        return filterValue;
    }

    public void setFilterValue(String filterValue) {
        this.filterValue = filterValue;
    }

    public Double getSizeMin() {
        return sizeMin;
    }

    public void setSizeMin(Double sizeMin) {
        this.sizeMin = sizeMin;
    }

    public Double getSizeMax() {
        return sizeMax;
    }

    public void setSizeMax(Double sizeMax) {
        this.sizeMax = sizeMax;
    }

    public String getSameDirPath() {
        return sameDirPath;
    }

    public void setSameDirPath(String sameDirPath) {
        this.sameDirPath = sameDirPath;
    }

    public Date getMtime() {
        return mtime;
    }

    public void setMtime(Date mtime) {
        this.mtime = mtime;
    }
}
